#pragma once
#include "TableNode.h"

typedef int INTEGER;
typedef int INDEX;
typedef string STRING;
typedef bool BOOLEAN;

using namespace std;

class VarTable {
private:
	vector<TableNode> _table;
	INTEGER _size;
public:
	VarTable();
	INDEX inSertVar(STRING varName);
	INTEGER getSize();
	STRING getVarName(INDEX index);
	INDEX getVarIndex(STRING varName);
	BOOLEAN hasVar(STRING varName);
};